﻿<UserControl x:Class="ReporterControlLibrary.EvalModelPath"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" xmlns:my="clr-namespace:ReporterControlLibrary">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="22.333" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="148*" />
            <ColumnDefinition Width="152*" />
        </Grid.ColumnDefinitions>
        <my:InstanceTree x:Name="instanceTree" DataContext="{Binding TemplateTreeInstancesSource}" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TreeBackground="{DynamicResource ControlBackgroundLightOpaqueBrush}" />
        <my:TemplateTree HorizontalAlignment="Stretch" Grid.Row="1"  VerticalAlignment="Stretch" x:Name="modelTree" DataContext="{Binding}" TreeBackground="{DynamicResource ControlBackgroundLightOpaqueBrush}" />
        <TextBlock Grid.Column="1" HorizontalAlignment="Left" x:Name="textBlock2" Text="Instances Tree" VerticalAlignment="Center" Style="{DynamicResource FormLabelStyle}" Margin="5,2,0,2" />
        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" VerticalAlignment="Center" Margin="5,2,0,2">
        	<TextBlock x:Name="textBlock1" Text="Template document map (" VerticalAlignment="Center" Style="{DynamicResource FormLabelStyle}" />
        	<TextBlock x:Name="textBlock1_Copy2" Text="Command name" VerticalAlignment="Center" Style="{DynamicResource FormLabelStyle}" d:LayoutOverrides="Width" Foreground="{DynamicResource CommandNameColor}" Margin="0,0,3,0" FontWeight="Bold" />
        	<TextBlock x:Name="textBlock1_Copy4" Text="," VerticalAlignment="Center" Style="{DynamicResource FormLabelStyle}" Margin="0,0,3,0" />
        	<TextBlock x:Name="textBlock1_Copy1" Text="Command type" VerticalAlignment="Center" Style="{DynamicResource FormLabelStyle}" d:LayoutOverrides="Width" Foreground="{DynamicResource CommandTypeColor}" Margin="0,0,3,0" FontWeight="Bold" />
        	<TextBlock x:Name="textBlock1_Copy5" Text="," VerticalAlignment="Center" Style="{DynamicResource FormLabelStyle}" Margin="0,0,3,0"/>
        	<TextBlock x:Name="textBlock1_Copy" VerticalAlignment="Center" Style="{DynamicResource FormLabelStyle}" d:LayoutOverrides="Width" Foreground="{DynamicResource QueryColor}" Margin="0" FontWeight="Bold" ><Run Text="Query"/></TextBlock>
        	<TextBlock x:Name="textBlock1_Copy3" Text=")" VerticalAlignment="Center" Style="{DynamicResource FormLabelStyle}" Margin="0"/>
        </StackPanel>
    </Grid>
</UserControl>
